package com.bjpowernode.db.mapper;

import com.bjpowernode.db.domain.IncomeRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bjpowernode.db.result.IncomeRecordResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 30402
 * @description 针对表【b_income_record(收益记录表)】的数据库操作Mapper
 * @createDate 2023-08-28 16:28:29
 * @Entity com.bjpowernode.db.domain.IncomeRecord
 */
public interface IncomeRecordMapper extends BaseMapper<IncomeRecord> {
    List<IncomeRecordResult> selectIncomeRecord(@Param("uid") Integer uid, @Param("offset") Integer offset, @Param("rows") Integer rows);

    int updateStatus(@Param("id") Integer id, @Param("status") int status);
}




